package com.yxd.util;

import javax.servlet.ServletOutputStream;
import java.io.IOException;
import java.io.OutputStream;

/**
 * Created by Administrator on 2016/6/16.
 */
public class ResponseOutputStream extends ServletOutputStream {
    private OutputStream outputStream;

    public ResponseOutputStream(OutputStream outputStream) {
        this.outputStream = outputStream;
    }

    @Override
    public void write(int b) throws IOException {
        this.outputStream.write(b);
    }
}
